package cn.kgc.kmall.product.service;

import cn.kgc.kmall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.kgc.common.utils.PageUtils;
import cn.kgc.kmall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author chenkaifeng
 * @email 403707110@qq.com
 * @date 2022-04-06 15:13:25
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> longs);

    //后端收集一、二、三级分类的id
    List<Long> findCatelogPath(Long catelogId);

    void updateCascade(CategoryEntity category);

}

